package com.thinkgem.jeesite.common.persistence.increase;

import com.thinkgem.jeesite.common.persistence.BaseEntity;
import com.thinkgem.jeesite.common.persistence.annotation.IncID;

public abstract class IncreaseEntity<T>  extends BaseEntity<T>{

		private static final long serialVersionUID = 2L;
		
		public IncreaseEntity(){
			super();
		}
		
		public IncreaseEntity(String id) {
			super(id);
		}
		
		/**
		 * 插入之前执行方法，需要手动调用
		 */
		@Override
		public void preInsert(){
			
		}
		
		/**
		 * 更新之前执行方法，需要手动调用
		 */
		@Override
		public void preUpdate(){

		}
		
}
